{  Statement: http://acmp.ru/?main=task&id_task=94
   Verdict: Accepted
}
uses
        SysUtils, Math;

var
    n,m,k:longint;

begin
reset(input,'input.txt');
rewrite(output,'output.txt');
read(n,m,k);
if n >= m then write(1) else
if k >= n then write('NO') else write(1 + (m - k - 1) div (n - k));
end.